package com.ternnetwork.oa.service.work;
import com.ternnetwork.commons.model.http.BaseResponse;
import com.ternnetwork.oa.dto.work.EventDto;

public interface EventService {

    BaseResponse add(EventDto dto, String username);

    BaseResponse update(EventDto dto, String username);

    BaseResponse updateStartEnd(EventDto dto,String username);

    BaseResponse deleteById(Long id,String username);

    BaseResponse findAll(String start,String end,String username);

    BaseResponse findAll(String start,String end, Long userId);

    BaseResponse findAll(String start,String end);
}
